<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="dayu" content="created by Dayu">
    <title> NFT transaction Center </title>
    <link rel="stylesheet"
        type="text/css" href="/static/frontend/css/style.css">
    <link rel="stylesheet" href="/static/frontend/css/swiper.min.css">
    <script src="/static/frontend/js/jquery-1.10.1.js"></script>
    <script src="/static/frontend/js/swiper.min.js"></script>
    <script src="/static/frontend/js/base.js"></script>
   
</head>
<body>
    <header>
        <div class="top center">
            <div class="left fl">
                <ul>
                    <!-- topMenuList存储在初始化时从数据库读取的Menu表数据 -->
                    <!-- target="_blank"的作用是用新的页面打开 -->
                    {{range $key,$value := .topMenuList}}
                        <li><a href="{{$value.Link}}"
                        {{if eq $value.IsOpennew 2}} target="_blank" {{end}}>{{$value.Title}}</a>
                        </li>
                    {{end}}
                    <div class="clear"></div>
                </ul>
            </div>
            <div class="right fr">
                <div class="cart fr"><a href="/cart">购物车</a>
                </div>
                <div class="fr">
                    {{str2html .userinfo}}
                </div>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
        </div>
    </header>
</body>
</html>